<div class="content4 content41 page" data-page="financeApplicationList" id="financeApplicationList">
	<p class="location">
		当前位置:
		<label class="locationInfo">业务申请</label>
	</p>
	<div class="dataContent">
		<div class="table-search">
							<div class="searchLine">
								<div>申请时间：<input class="Wdate FromTime" type="text" id="applyTimeStart" name="beginDate" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false,readOnly:true,maxDate:'#F{$dp.$D(\'applyTimeEnd\',{d:0})}'})" />-<input class="Wdate ToTime" type="text" id="applyTimeEnd" name="endDate" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false,readOnly:true,minDate:'#F{$dp.$D(\'applyTimeStart\',{d:1})}'})" /></div>
								<div>融资编号：<input type="text" id="financeNumber" name="financeNumber" placeholder="请输入融资编号" /></div>
								<div>融资货物：<input id="commodityName" type="text" name="bulkstockName" placeholder="请输入融资货物" /></div>
							</div>
							<div class="searchLine">
								<div>融资企业：<input type="text" id="enterpriseName" name="enterpriseName" placeholder="请输入融资企业" />
									<!--<a class="ui_button"><span class="ui-button-icon-primary ui-icon ui-icon-triangle-1-s"></span></a>-->
								</div>
								<div>
									状态：
									<select class="sel-recommend" id="financeState" name="financeState">
										<option value="">全部</option>
										<option value="0">已取消</option>
										<option value="1">审批中</option>
										<option value="2">待确认</option>
										<option value="3">已审批</option>
										<option value="4">审批不通过</option>
										<option value="5">合同已签订</option>
										<option value="6">待验货</option>
										<option value="7">已验货</option>
										<option value="8">待放款</option>
										<option value="9">已收款</option>
										<option value="10">提货审批中</option>
										<option value="11">提货审批不通过</option>
										<option value="12">换货审批中</option>
										<option value="13">换货审批不通过</option>
										<option value="14">提货已审批</option>
										<option value="15">待放货</option>
										<option value="16">放货中</option>
										<option value="17">已签收</option>
										<option value="18">已完成</option>
										<option value="19">已评价</option>
									</select>
								</div>
								<div>产品类型：
									<select name="productType">
										<option value="">全部</option>
										<option value="1">舱单代采</option>
										<option value="2">舱单质押</option>
										<option value="3">仓储质押</option>
										<option value="4">运费保理</option>
										<option value="5">仓储代采</option>
										<option value="6">代销</option>
									</select></div>
							</div>
							<div class="searchLine">
								<div></div>
								<div></div>
								<div><button class="table-search-button" id="financeSearch">查询</button></div>
							</div>
							<!--<div>
								<select class="showEnterpriseName" cellspacing="0px" cellpadding="0px">
								</select>
							</div>
							<script class="showEnterpriseTpl" type="text/template">
									{@each datas as it}
									<option value="${it.enterpriseName}" txt="${it.enterpriseName}">${it.enterpriseName}</td>
									{@/each}
							</script>-->
						</div>
		
		<div class="navDiv">
			<a class="active" href="javascript:void(0);" financeState="">全部</a>
			<a href="javascript:void(0);" financeState="18">已完成</a>
			<a href="javascript:void(0);" financeState="3,5,6,7,8,9,10,11,12,13,14,15,16,17">未完成</a>
			<a href="javascript:void(0);" financeState="4">申请未通过</a>
		</div>
		<table class="table" cellspacing="0px" cellpadding="0px">
		</table>
		<div class="pagerCon"></div>
		<script class="inquireFinanceListTpl" type="text/template">
			<tr class="table_title">
				<th>申请时间 | 融资编号</th>
				<th>融资客户</th>
				<th>合同序列号</th>
				<th>融资货物</th>
				<th>数量</th>
				<th>申请金额</th>
				<th>融资金额</th>
				<th>订单状态</th>
				<th>操作</th>
			</tr>
			{@each datas as it}
				<tr class="tr_style" financeId="${it.financeId}">
					<td>
						${getValueByKey(31, it.financeType)}
						${it.applicationDateTime}
						<br/><span class="">${it.financeNumber}</span>
					</td>
					<td>${it.enterpriseName}</td>
					<td>${it.financeContractDetail.financeContractSerialNumber}</td>
					<td>
						{@each it.bulkstocks as that}
							${that.bulkstockName}(${that.specification})<br/>
						{@/each}
					</td>
					<td>
						{@each it.bulkstocks as d}
							${d.quantity}(${d.unit})<br/>
						{@/each}
					</td>
					<td>&#65509;${it.applicationAmount / 10000} 万元</td>
					<td>&#65509;${it.financeAmount / 10000}万元</td>
					<td>${getValueByKey(30, it.financeState)}</td>
					<td>
						<a class="detail" href="javascript:void(0);">详情 </a>
					</td>
				</tr>
			{@/each}
		</script>
	</div>
</div>